/*
 * TramoTuberia.h
 *
 *  Created on: 31/07/2013
 *      Author: juan
 */

#ifndef TRAMOTUBERIA_H_
#define TRAMOTUBERIA_H_

#include "Figure.h"
#include <list>
#include "SweepSurf.h"
using namespace std;

class TramoTuberia: public Figure {
	public:
		TramoTuberia(GLuint program);
		virtual ~TramoTuberia();
		void virtual draw(GLuint program, glm::mat4 & world_matrix);
		void set_texture_id(GLuint texture);

	private:
		list<SweepSurf*>* tramos;
		void crearComponentes(GLuint program);
		vector<float>* createPoints(void);
		void addPoint(vector<float>* unVector,float x,float y, float z);

};

#endif /* TRAMOTUBERIA_H_ */
